<script>
//app.js
export default {
    data() {
        return {};
    },
    //onLaunch,onShow: options(path,query,scene,shareTicket,referrerInfo(appId,extraData))
    onLaunch: function (options) {
        // 小程序启动之后 触发
        const a = 1;
    },
    onShow: function (options) {},
    onHide: function () {},
    onError: function (msg) {},
    globalData: {
        //options(path,query,isEntryPage)
        onPageNotFound: function (options) {}
    }
};
</script>
<style>
@import './app.css';
</style>
